\hypertarget{oct_8h}{
\section{spherical/oct.h \-File \-Reference}
\label{oct_8h}\index{spherical/oct.\-h@{spherical/oct.\-h}}
}


\-Octahedral basis definitions and helper functions.  


{\ttfamily \#include $<$nih/basic/numbers.\-h$>$}\*
{\ttfamily \#include $<$nih/linalg/vector.\-h$>$}\*
{\ttfamily \#include $<$nih/linalg/matrix.\-h$>$}\*
\subsection*{\-Classes}
\begin{DoxyCompactItemize}
\item 
struct \hyperlink{structnih_1_1_oct__basis}{nih\-::\-Oct\-\_\-basis}
\item 
struct \hyperlink{structnih_1_1_oct__smooth__basis}{nih\-::\-Oct\-\_\-smooth\-\_\-basis}
\item 
struct {\bfseries nih\-::\-Oct\-\_\-smooth\-\_\-basis\-::\-Initializer}
\end{DoxyCompactItemize}
\subsection*{\-Functions}
\begin{DoxyCompactItemize}
\item 
\-N\-I\-H\-\_\-\-H\-O\-S\-T\-\_\-\-D\-E\-V\-I\-C\-E float \hyperlink{group__octahedral__functions_gae4f57aa8c225e3b15676f3c5cc049d20}{nih\-::oct\-\_\-basis} (const int32 i, const \-Vector3f \&d)
\item 
\-N\-I\-H\-\_\-\-H\-O\-S\-T\-\_\-\-D\-E\-V\-I\-C\-E float \hyperlink{group__octahedral__functions_ga3875de0131887e4c122d9f76aa6c1ef0}{nih\-::oct\-\_\-smooth\-\_\-basis} (const int32 i, const \-Vector3f \&omega)
\begin{DoxyCompactList}\small\item\em evaluate the i-\/th smooth octahedral basis \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{\-Detailed \-Description}
\-Octahedral basis definitions and helper functions. \-Defines a set of 8 orthogonal functions on the sphere, where each function is constant over one of the faces of a octahedron and zero outside.

\-Additionally, introduces a smoothed version of these functions which form a non-\/orthogonal system. 